/* Copyright (c) 2004-2024 peigen.info. All rights reserved. */

package info.peigen.hotpot.business.account.facade.info;

import info.peigen.hotpot.common.core.lang.money.Money;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

/**
 * <b>(AccountFreezeInfo)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2022/3/30
 */
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class AccountFreezeInfo {
    /** 冻结|解冻账户Id */
    @NotEmpty
    String freezeAccountId;

    /** 冻结|解冻金额-包含币种 */
    @NotNull
    Money freezeAmount;

}
